package com.mrzhou.msg.service;

import com.mrzhou.core.tool.api.R;
import com.mrzhou.msg.vo.req.ValidMailPhoneReq;
import org.springframework.web.multipart.MultipartFile;

public interface IMailService {

    R<String> sendSimpleMail(String title, String msg, String... mail);

    R<String> sendHtmlMail(String title, String msg, String... mail);

    R<String> sendAttachmentMail(String title, String msg, MultipartFile file, String... mail);

    R<String> validMailCode(ValidMailPhoneReq req);
}
